﻿<%@ Control Language="C#" ClassName="AfiFields" %>

<asp:FormView ID="FormView1" runat="server">
	<ItemTemplate>
		<table border="0" cellpadding="3" cellspacing="1">
			<tr>
        <td class="literal"><asp:Label ID="lbldataAfiCode" runat="server" Text="Afi Code:" AssociatedControlID="dataAfiCode" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataAfiCode" Text='<%# Bind("AfiCode") %>' MaxLength="12"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataAfiCode" runat="server" Display="Dynamic" ControlToValidate="dataAfiCode" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataClientName" runat="server" Text="Client Name:" AssociatedControlID="dataClientName" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataClientName" Text='<%# Bind("ClientName") %>' MaxLength="100"></asp:TextBox><asp:RequiredFieldValidator ID="ReqVal_dataClientName" runat="server" Display="Dynamic" ControlToValidate="dataClientName" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataClientAddress1" runat="server" Text="Client Address1:" AssociatedControlID="dataClientAddress1" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataClientAddress1" Text='<%# Bind("ClientAddress1") %>' MaxLength="100"></asp:TextBox>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataClientAddress2" runat="server" Text="Client Address2:" AssociatedControlID="dataClientAddress2" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataClientAddress2" Text='<%# Bind("ClientAddress2") %>' MaxLength="100"></asp:TextBox>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataClientAddress3" runat="server" Text="Client Address3:" AssociatedControlID="dataClientAddress3" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataClientAddress3" Text='<%# Bind("ClientAddress3") %>' MaxLength="100"></asp:TextBox>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataClientTaxCode" runat="server" Text="Client Tax Code:" AssociatedControlID="dataClientTaxCode" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataClientTaxCode" Text='<%# Bind("ClientTaxCode") %>' MaxLength="20"></asp:TextBox>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataCreatedBy" runat="server" Text="Created By:" AssociatedControlID="dataCreatedBy" /></td>
        <td>
					<data:EntityDropDownList runat="server" ID="dataCreatedBy" DataSourceID="CreatedByWebUserDataSource" DataTextField="Name" DataValueField="UserId" SelectedValue='<%# Bind("CreatedBy") %>' AppendNullItem="true" Required="false" NullItemText="< Please Choose ...>" />
					<data:WebUserDataSource ID="CreatedByWebUserDataSource" runat="server" SelectMethod="GetAll"  />
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataCreatedDate" runat="server" Text="Created Date:" AssociatedControlID="dataCreatedDate" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataCreatedDate" Text='<%# Bind("CreatedDate", "{0:d}") %>' MaxLength="10"></asp:TextBox><asp:ImageButton ID="cal_dataCreatedDate" runat="server" SkinID="CalendarImageButton" OnClientClick="javascript:showCalendarControl(this.previousSibling);return false;" /><asp:RequiredFieldValidator ID="ReqVal_dataCreatedDate" runat="server" Display="Dynamic" ControlToValidate="dataCreatedDate" ErrorMessage="Required"></asp:RequiredFieldValidator>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataCurrency" runat="server" Text="Currency:" AssociatedControlID="dataCurrency" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataCurrency" Text='<%# Bind("Currency") %>' MaxLength="50"></asp:TextBox>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataStatus" runat="server" Text="Status:" AssociatedControlID="dataStatus" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataStatus" Text='<%# Bind("Status") %>' MaxLength="50"></asp:TextBox>
				</td>
			</tr>
			<tr>
        <td class="literal"><asp:Label ID="lbldataPam" runat="server" Text="Pam:" AssociatedControlID="dataPam" /></td>
        <td>
					<asp:TextBox runat="server" ID="dataPam" Text='<%# Bind("Pam") %>' MaxLength="50"></asp:TextBox>
				</td>
			</tr>
			
		</table>

	</ItemTemplate>
</asp:FormView>


